package com.cp.service;

import com.cp.repository.ConvictionClass;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;

@CacheConfig(cacheNames = "convictionClassCache")
public interface ConvictionClassService {

	@Cacheable
	ConvictionClass getById(Integer id);
}
